<?php
/*
 *author:Yangligao
 *Date:2013-9-24
 */

class AdminModel{
	private $tableName = 'admin';
	
	function admin_select($columList,$where="",$limit="",$order="",$group=""){
		return Db::select($this->tableName, $columList,$where,$limit,$order,$group);
	}
	
	function admin_insert($arr){
		return Db::insert($this->tableName, $arr);
		
	}
	function admin_update($arr){
		return Db::update($this->tableName, $arr, "admin_id");
	}
	function admin_delete($arr){
		return Db::delete($this->tableName, $arr);
	}
}
?>
